package com.fuyao.cloud.personnel.library.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fuyao.cloud.common.biz.service.FyBaseService;
import com.fuyao.cloud.personnel.library.entity.Book;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface BookService extends FyBaseService<Book> {

    boolean importData(MultipartFile file) throws IOException;

    IPage<Book> selectBookPage(Page<Book> page, Book example);
}
